package com.spooky.sync.persistence.dao;

import java.util.List;
import com.spooky.sync.persistence.entity.Category;

public interface CategoryDAO {
	Category create(Category category);

	Category update(Category category);

	void delete(Category category);

	List<Category> find(Category category);

	Category find(Long id);

	List<Category> list(int start, int offset);

	void close();

	List<Category> getAll();
}
